//
//  UIViewController+SYANavigationExtion.m
//  PeiZiWangBei
//
//  Created by LK-IOS on 2018/2/28.
//  Copyright © 2018年 LK-IOS. All rights reserved.
//

#import "UIViewController+SYANavigationExtion.h"
#import <objc/runtime.h>


@implementation UIViewController (SYANavigationExtion)

- (BOOL)mj_fullScreenPopGestureEnabled
{
    return [objc_getAssociatedObject(self, _cmd) boolValue];
}



- (void)setMj_fullScreenPopGestureEnabled:(BOOL)fullScreenPopGestureEnabled
{
    objc_setAssociatedObject(self, @selector(mj_fullScreenPopGestureEnabled), @(fullScreenPopGestureEnabled), OBJC_ASSOCIATION_RETAIN);
}

- (YDABaseNavigationController *)mj_navigationController
{
    return objc_getAssociatedObject(self, _cmd);
}

- (void)setMj_navigationController:(YDABaseNavigationController *)navigationController
{
    objc_setAssociatedObject(self, @selector(mj_navigationController), navigationController, OBJC_ASSOCIATION_ASSIGN);
}

@end
